import Layout from '@/layout'

export default {
  path: '/equipment',
  component: Layout,
  redirect: '/equipment/a',
  name: 'Equipment',
  meta: {
    title: '设备管理',
    icon: 'nested'
  },
  children: [
    {
      path: 'a',
      component: () => import('@/views/equipment/a/index'), // Parent router-view
      name: 'a',
      meta: { title: '设备管理' }
    },
    {
      path: 'b',
      component: () => import('@/views/equipment/b/index'),
      name: 'b',
      meta: { title: '设备状态' }
    },
    {
      path: 'c',
      component: () => import('@/views/equipment/c/index'),
      name: 'c',
      meta: { title: '设备类型管理' }
    }
  ]
}
